/*
 * @Author: liuying 247220246@qq.com
 * @Date: 2023-11-22 16:35:09
 * @LastEditors: liuying 247220246@qq.com
 * @LastEditTime: 2024-01-23 11:21:33
 * @FilePath: \ele-h5-server\src\db.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */

const test = require("../data/test");
const homePage = require("../data/home_page");
function responseData(data) {
  return {
    code: 0,
    msg: `请求成功`,
    data,
  };
}
module.exports = () => {
  return {
    testjson0: test(),
    home_page: responseData(homePage()),
  };
};
